#!/usr/bin/python
# -*- coding: utf-8; tab-width: 4; indent-tabs-mode: nil; -*-

from Elements import *
import random
game_name = "dune"

# Width: 4880 pixels + 20
# Height: 4879 pixels + 20

width = 4900
height = 4899

bg_color = ( 0, 0, 0 )
origin = ( 10,10 )

def rnd( limit ):
    return random.randint( 100+limit/3, limit-limit/3-100 )


materials = [
    Board( "%s/mapboard2.png" % game_name, origin, 0 ),
    Token( "%s/duncan.gif"    % game_name, (rnd(width),rnd(height)), 1 ),
    Token( "%s/fenring.gif"   % game_name, (rnd(width),rnd(height)), 1 ),
    Token( "%s/alia.gif"      % game_name, (rnd(width),rnd(height)), 1 ),
    Token( "%s/chani.gif"     % game_name, (rnd(width),rnd(height)), 1 ),
    Token( "%s/rabban.gif"    % game_name, (rnd(width),rnd(height)), 1 ),
]
